package project.events.truckEvents;

import project.layer.physical.Road;
import project.layer.physical.Truck;

public class TruckFollowedRoadEvent extends TruckEvent {

	private Road followedRoad;
	
	public TruckFollowedRoadEvent(Truck truck, Road followedRoad) {
		super(truck);
		setFollowedRoad(followedRoad);
	}

	public void setFollowedRoad(Road followedRoad) {
		this.followedRoad = followedRoad;
	}

	public Road getFollowedRoad() {
		return followedRoad;
	}
	

}
